{$CLEO .s}
{$INCLUDE_ONCE ../cleo_tester.inc}

script_name "0AEC" // get_object_ref
test("0AEC (get_object_ref)", tests)
terminate_this_custom_script

function tests
    it("should return vehicle handle for pointer", test1)
    return

    function test1
        request_model 333 // golf club
        load_all_models_now
        int handle = create_object 333 {xyz} 0.0 0.0 0.0
        int ptr = get_object_pointer handle
        int handle2 = get_object_ref ptr
        mark_object_as_no_longer_needed handle

        handle == handle2
        assert_result_true()
    end
end


